package cn.david.pet.service;


import cn.david.basic.service.IBasicService;
import cn.david.basic.util.PageList;
import cn.david.pet.domain.Pet;
import cn.david.pet.domain.SearchMasterMsg;
import cn.david.pet.query.SearchMasterMsgQuery;

public interface ISearchMasterMsgService extends IBasicService<SearchMasterMsg> {

    void publish(SearchMasterMsg searchMasterMsg,Long loginInfoId);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery query, Long id);

    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery query, Long id);

    PageList<SearchMasterMsg> myMsg(SearchMasterMsgQuery query, Long id);

    void handle(Pet pet);
}
